package com.yd.domain.searchParam;

import com.yd.domain.business.Order;

import java.util.Date;

/**
 * @author sunxianhui
 * @create 2018-03-07 9:46
 * @desc 订单条件查询
 **/
public class OrderParam extends Order{
    private String userId;
    private String realName;
    private Date startTime;
    private Date endTime;
    private int quarter;
    private String status;
    private String orderId;
    private String companyName;
    private String payStatus;
    private String ifPC="phone";

    @Override
    public String getPayStatus() {
        return payStatus;
    }

    @Override
    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public String getIfPC() {
        return ifPC;
    }

    public void setIfPC(String ifPC) {
        this.ifPC = ifPC;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    @Override
    public String getOrderId() {
        return orderId;
    }

    @Override
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    @Override
    public String getStatus() {
        return status;
    }

    @Override
    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String getUserId() {
        return userId;
    }

    @Override
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public int getQuarter() {
        return quarter;
    }

    public void setQuarter(int quarter) {
        this.quarter = quarter;
    }

    @Override
    public String toString() {
        return "OrderParam{" +
                "userId='" + userId + '\'' +
                ", realName='" + realName + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", quarter=" + quarter +
                ", status='" + status + '\'' +
                ", orderId='" + orderId + '\'' +
                ", companyName='" + companyName + '\'' +
                '}';
    }
}